﻿@model List<FlowerShop.Core.Models.Tpeople>
@{
    ViewBag.Title = "客户列表";
}

<h2>客户列表</h2>
<table class="table">
    <thead>
        <tr>
            <th>客户编号</th>
            <th>客户姓名</th>
            <th>电话</th>
            <th>邮箱</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var customer in Model)
        {
            <tr>
                <td>@customer.t_id</td>
                <td>@customer.t_name</td>
                <td>@customer.t_mima</td>
                <td>@customer.email</td>
                <td>
                   
                    @Html.ActionLink("编辑", "Edit", new { id = customer.t_id })
                </td>
            </tr>
        }
    </tbody>
</table>
